put "Card "&the number of me into field "Card number"
hide card field "click anywhere to resume"
set cursor to watch
playVW "Nubus card sequence",vwpreload
end opencard
On mouseup
global pauseState,quitstate
if quitstate = "running" then exit mouseup
if pausestate="pause" then
put "Wait" into pausestate
show card field "click anywhere to resume"
exit mouseup
else -- Resume the movie
hide card field "click anywhere to resume"
play "enter animation"
playvw vwclick, vwnoupdate --Play the preloaded movie
play "exit animation"
getframevw
get the result
put it into framenumber
if framenumber = 0
then -- Movie is over
push card
pop card
playVW "Nubus card sequence",vwpreload
end if
put "Pause" into pausestate
end if
end mouseup
-- part 2 (field)
-- low flags: 81
-- high flags: 0001
-- rect: left=285 top=53 right=73 bottom=430
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 157
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: Click anywhere to resume
-- part 4 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=3 top=1 right=17 bottom=119
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Sequence
-- part 5 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=456 top=22 right=74 bottom=510
-- title width / last selected line: 0
-- icon id / first selected line: 20100 / 20100
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Movie
----- HyperTalk script -----
on mouseUp
global pauseState,quitstate
if quitstate = "Quit" then
hide card field "click anywhere to resume"
visual effect dissolve
if pausestate="wait" then play "exit animation"
push card
pop card
playvw "NuBus card sequence", vwpreload
put "wait" into pausestate
put "running" into quitstate
exit mouseup
end if
play "enter animation"
playvw vwclick, vwnoupdate --Play the preloaded movie
play "exit animation"
put "quit" into quitstate
--
-- Execute this code when the movie is over or paused
getframevw
get the result
put it into framenumber
if framenumber = 0
then -- Movie is over
push card
pop card
playvw "Nubus card sequence", vwpreload
put "running" into quitstate
else -- User paused the movie
put "Pause" into pausestate
show card field "click anywhere to resume"
end if
end mouseUp
-- part contents for background part 20
----- text -----
If a NuBus video card is used to generate the video image in the Macintosh IIci, the performance improvement over the Macintosh IIcx is about 36 percent greater, independent of the screen depth. This improvement is due entirely to the faster processor speed of the Macintosh IIci.